/****************************************************************************
* MINILOGO - Minimalistic Logo Interpreter
* Copyright (C) 1999-2008 Willian Mitsuda
* 
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* 
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
* 
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
* 
*****************************************************************************

*****************************************************************************
* MINILOGO.H                                                                *
*****************************************************************************
* Interface de acesso e interacao com o ambiente grafico do MINI-LOGO       *
****************************************************************************/
#include "defines.h" // Definicoes do projeto

// Prototipos de funcoes de interacao com a janela grafica
void clgr(void);     // Limpa a janela grafica
//int round(float);    // Arredonda um valor float
int transX(float *); // Reposiciona uma coordenada X
int transY(float *); // Reposiciona uma coordenada Y

// Interpreta uma string de comandos
cmd_stat parse(char *);

// Desenha uma linha na janela grafica
void line(float, float, float, float, GrColor);

// Prototipos de funcoes de interacao com o shell
void clsh(void);   // Limpa a janela do shell
int newline(void); // Avanca uma linha no shell

// Imprime uma string no shell
void printstr(char *, GrColor);

// Imprime uma string seguida de uma nova linha
void printline(char *, GrColor);
